/* 
 * File:   CurrentStackMemento.h
 * Author: Gab'z
 *
 * Created on 29 mai 2012, 10:56
 */

#ifndef CURRENTSTACKMEMENTO_H
#define	CURRENTSTACKMEMENTO_H

#include "Memento.h"

namespace calculator {
    class UndoableRedoableCommand;

    class CurrentStackMemento : public Memento {

        friend class NewStackCommand;
        
    public:
        CurrentStackMemento(UndoableRedoableCommand* undoableRedoableCommand,
                const unsigned int stackIndex);
        virtual ~CurrentStackMemento();
    private:
        const unsigned int _stackIndex;

        CurrentStackMemento(const CurrentStackMemento& orig);
    };
}

#endif	/* CURRENTSTACKMEMENTO_H */
